package com.piaodekuai.flight.pojo;

import java.io.Serializable;

public class User implements Serializable {
    private Integer uId;

    private String uNumber;

    private String uPassword;

    private String uNickname;

    private String uName;

    private String uSex;

    private Integer uMember;

    private static final long serialVersionUID = 1L;

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getuNumber() {
        return uNumber;
    }

    public void setuNumber(String uNumber) {
        this.uNumber = uNumber == null ? null : uNumber.trim();
    }

    public String getuPassword() {
        return uPassword;
    }

    public void setuPassword(String uPassword) {
        this.uPassword = uPassword == null ? null : uPassword.trim();
    }

    public String getuNickname() {
        return uNickname;
    }

    public void setuNickname(String uNickname) {
        this.uNickname = uNickname == null ? null : uNickname.trim();
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName == null ? null : uName.trim();
    }

    public String getuSex() {
        return uSex;
    }

    public void setuSex(String uSex) {
        this.uSex = uSex == null ? null : uSex.trim();
    }

    public Integer getuMember() {
        return uMember;
    }

    public void setuMember(Integer uMember) {
        this.uMember = uMember;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uId=").append(uId);
        sb.append(", uNumber=").append(uNumber);
        sb.append(", uPassword=").append(uPassword);
        sb.append(", uNickname=").append(uNickname);
        sb.append(", uName=").append(uName);
        sb.append(", uSex=").append(uSex);
        sb.append(", uMember=").append(uMember);
        sb.append("]");
        return sb.toString();
    }
}